<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画</title>
    <style>
        @keyframes move {
            0% {
                /* width: 100px; */
                transform: translate(0, 0);
            }
            25% {
                transform: translate(1000px, 0);
            }
            50% {
                background: url(images/png/aichong03.png);
                transform: translate(1000px, 500px);
            }
            75% {
                background: url(images/png/aichong04.png);
                transform: translate(0, 500px);
            }
            /* 100% { */
                /* width: 100%; */
                /* transform: translate(0px, 0px);
            } */
        }
        .box1 {
            width: 64px;
            height: 64px;
            background-color: aqua;
            background: url(images/png/aichong02.png);
            /* 调用动画 */
            animation-name: move;
            /* 持续时间 */
            animation-duration: 5s;
            animation-timing-function: linear;
            /* animation-iteration-count: infinite;
            animation-direction: alternate; */
            animation-fill-mode: forwards;
        }
        .box1:hover {
            animation-play-state: paused;
        }
    </style>
</head>
<body>
    <div class="box1"></div>
</body>
</html>